#ifndef REPLACETEXTDIALOG_H
#define REPLACETEXTDIALOG_H
#include "ui_Replace.h"
#include "Config.h"
#include <Qsci/qsciscintilla.h>
#include <QMessageBox>
#include <QtDebug>

class ReplaceTextDialog:public QDialog
{
	Q_OBJECT
	public:
		ReplaceTextDialog(QWidget* parent);
		~ReplaceTextDialog(void);
		void SetTextEdit(QsciScintilla* TextEdit);
		Ui::ReplaceDialog ui;
	private:
		QsciScintilla* TextEdit;
		bool Regex;
		bool CaseSens;
		bool WholeWord;
		bool Forward;
		bool IsDoReplaceAll;
	private slots:
		void DoReplace(void);
		void DoReplaceAll(void);


};
#endif
